<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div{
            height:300px;
            background-color: rgb(55, 148, 54);
            text-align: center;
            line-height: 300px;
            color: silver;
            /*过渡*/
            /*需要过渡的属性*/
            /*transition-property:font-size;*/
            /*过渡持续时长*/
            /*transition-duration :2s;*/
            /*过渡速度曲线 linear匀速*/
            /*transition-timing-function:linear;*/
            
            /*设置多个过渡属性*/
            transition: font-size 2s linear,background-color 2s linear,color 2s linear;
        }
        div:hover{
            font-size: 58px;
            background-color: rgb(169, 233, 153);
        }
        img{
            transition: width 2s linear;
        }
        img:hover{
            width:300px;
        }
    </style>
</head>
<body>
    <div>兰州理工大学</div>
    <img width="250px" src="../音视频/音视频/6.jpg" alt="">
</body>
</html>